<?php if(count($this->pages)>0): foreach($this->pages as $page):?>
<li>
    <a href="<?php
    echo $this->url(
        array('module' => 'content', 'controller'=>'page', 'action'=>'show', 'page_id'=>$page['id']), 'default',true)
        ?>"><?php echo $page['title']?></a>
</li>
<?php endforeach; else:  ?>
<?php endif;?>
